realtek: 6.12: refactor get_mac_eee
authorMarkus Stockhausen <[email protected]>
Thu, 29 May 2025 07:34:59 +0000 (03:34 -0400)
committerRobert Marko <[email protected]>
Wed, 11 Jun 2025 20:27:22 +0000 (22:27 +0200)
commitd7f51c1917b549a2dfc067577fc8b46a8bac868a
tree199ff5b4e7811043c45079c3dcc1d422fcdf8cd7
parente124859587143bff28440a1fbedef623c6b22735
realtek: 6.12: refactor get_mac_eee

Upstream will get rid of the get_mac_eee() function in the DSA
driver and replace it by a boolean alternative. While we fill a
lot of data here (because of EEE bugs in the Realtek phy layer)
other DSA drivers only return if EEE is available or not for a
port. To make the next kernel upgrade easier follow that design.

Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c